import QtQuick 2.0
import QtQuick.Controls 2.0

import Round 1.0
import "."
Rectangle {
    color: Qt.rgba(0.2, 0.3, 0.3, 1.0)
    RoundItem {
        id: roundItem
        width: 500
        height: 500
        anchors.centerIn : parent

        SequentialAnimation {
            running: true
            loops: Animation.Infinite

            NumberAnimation {
                target: roundItem
                property: "radius"
                from: 0
                to: 1
                duration: 1500
            }

            PauseAnimation {
                duration: 200
            }
            NumberAnimation {
                target: roundItem
                property: "radius"
                from: 1
                to: 0
                duration: 1500
            }
        }
    }

    FPS {
        id: fpsItem
        anchors {
            right: parent.right
            top: parent.top
            rightMargin: 60
            topMargin: 20
        }
    }
}
